<template>
  <div class="mod-config">
        <basic-container>
            <div class="boxsty zhiBiao">
                <el-row>
                  <el-col :span="24">
                      <el-form :model="form" label-width="120px">
                          <el-col :span="24">
                              <el-col :span="12">
                                  <el-form-item label="工作名称">
                                      <el-input v-model="form.name" placeholder=""></el-input>
                                  </el-form-item>
                              </el-col>
                          </el-col>
                          <el-col :span="24">
                              <el-col :span="6">
                                  <el-form-item label="姓名">
                                      <el-input v-model="form.name" placeholder=""></el-input>
                                  </el-form-item>
                              </el-col>
                              <el-col :span="6">
                                  <el-form-item label="职务">
                                      <el-input v-model="form.name" placeholder=""></el-input>
                                  </el-form-item>
                              </el-col>
                          </el-col>  
                          <el-col :span="24">
                              <el-col :span="6">
                                  <el-form-item label="结束时间">
                                      <el-date-picker
                                        v-model="form.value1"
                                        type="date"
                                        format="yyyy-MM-dd"
                                        value-format="yyyy-MM-dd"
                                        placeholder="选择日期">
                                    </el-date-picker>
                                  </el-form-item>
                              </el-col>
                          </el-col>
                          <el-col :span="24">
                              <el-col :span="6">
                                  <el-form-item label="打分人">
                                      <el-input v-model="form.name" placeholder=""></el-input>
                                  </el-form-item>
                              </el-col>
                          </el-col>
                          <el-col :span="24">
                              <el-col :span="6">
                                  <el-form-item label="审核人">
                                      <el-input v-model="form.name" placeholder=""></el-input>
                                  </el-form-item>
                              </el-col>
                              <el-col :span="6">
                                  <el-form-item>
                                      <el-button type="primary" @click="add">添加打分人、审核人</el-button>
                                  </el-form-item>
                              </el-col>
                          </el-col>
                          <el-col :span="24">
                              <el-col :span="12">
                                  <el-form-item label="工作目标/成效">
                                    <el-input type="textarea" v-model="form.name" placeholder=""></el-input>
                                  </el-form-item>
                              </el-col>
                              <el-col :span="12">
                                  <el-button style="float:left;margin-left:120px;margin-top:25px;" type="primary" @click="baoC">保存#</el-button>
                              </el-col>
                          </el-col>
                      </el-form>
                  </el-col>
                </el-row>
            </div>
        </basic-container>
        <el-dialog  :close-on-click-modal="false" :visible.sync="visible" width="60vw" top="8vh">
            <el-row :gutter="80">
              <el-col :xs="24" :sm="24" :md="12">
                      
                      <div>
                          <h3 style="float:left">打分人信息</h3>
                          <el-button style="float:right;margin-top:20px;" type="primary">新增</el-button>
                      </div>
                      <el-table
                        style="width: 100%;margin-top:20px"
                        :data="dataList"
                        border
                        v-loading="dataListLoading">
                        <!-- <el-table-column type="selection" width="55" header-align="center" align="center"></el-table-column> -->
                        <el-table-column type="index" width="80" header-align="center" align="center" label="序号"></el-table-column>
                        <el-table-column
                            prop="htMc"
                            header-align="center"
                            align="center"
                            label="打分人">
                        </el-table-column>
                        <el-table-column
                            prop="htMs"
                            header-align="center"
                            align="center"
                            label="打分人人职务">
                        </el-table-column>
                      </el-table> 
                  </el-col>
                  <el-col :xs="24" :sm="24" :md="12">
                      <div>
                          <h3 style="float:left">审核人信息</h3>
                          <el-button style="float:right;margin-top:20px;" type="primary">新增</el-button>
                      </div>
                      <el-table
                        style="width: 100%;margin-top:20px"
                        :data="dataList"
                        border
                        v-loading="dataListLoading">
                        <!-- <el-table-column type="selection" width="55" header-align="center" align="center"></el-table-column> -->
                        <el-table-column type="index" width="80" header-align="center" align="center" label="序号"></el-table-column>
                        <el-table-column
                            prop="htMc"
                            header-align="center"
                            align="center"
                            label="审核人">
                        </el-table-column>
                        <el-table-column
                            prop="htMs"
                            header-align="center"
                            align="center"
                            label="审核人职务">
                        </el-table-column>
                      </el-table> 
                  </el-col>
            </el-row>
            <span slot="footer" class="dialog-footer">
                
                <el-button type="primary" @click="visible = false">确定</el-button>
                <el-button type="primary" plain @click="visible = false">返回</el-button>
            </span>
        </el-dialog>
  </div>
</template>

<script>
export default {
    name:"zxxq-form",
    data(){
        return{
            form:{},
            visible:false
        }
    },
    methods:{
        add(){
            this.visible=true
        },
        baoC(){
            this.$emit('zxpjC','返回')
        },
    }
}
</script>

<style>

</style>